@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content" id="AudienceCodeInfoForm">
        <div class="form-horizontal">
            <input type="hidden" id="id" value="${audienceCode.id}">
            <div class="row title">
                <div class="col-sm-12">编辑信息</div>
            </div>
            <div class="col-sm-6  b-r">
                <#select id="type" name="类别">
                <option value="">请选择类别</option>
                <!--<option value="1">客户身份</option>-->
                <!--<option value="2">商业性质</option>-->
                <!--<option value="3">行业性质</option>-->

                @if(audienceCode.type==1){
                <option value="1" selected>客户身份</option>
                @}else{
                <option value="1">客户身份</option>
                @}
                @if(audienceCode.type==2){
                <option value="2" selected>商业性质</option>
                @}else{
                <option value="2">商业性质</option>
                @}
                @if(audienceCode.type==3){
                <option value="3" selected>行业性质</option>
                @}else{
                <option value="3">行业性质</option>
                @}
            </#select>
        </div>
            <div class="col-sm-6 b-r">
                <#input id="code" name="编码" must="must" value="${audienceCode.code}"/>
            </div>
            <div class="col-sm-6">
                <#input id="name" name="名称" must="must" value="${audienceCode.name}" />
            </div>
        </div>
    </div>
</div>
            <div class="row btn-group-m-t">
                <div class="col-sm-12 tr">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="AudienceCodeInfo.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="AudienceCodeInfo.close()"/>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/audienceCode/audienceCode_info.js"></script>
@}
